package com.ftg.learn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ftg.learn.entity.sys.User;
import com.ftg.learn.util.ResultJson;

import java.util.List;

/**
 * @author kangjx
 * @date 2022/10/21
 */
public interface Iuser extends IService<User> {

    ResultJson loginForUser(String account,String password );

    ResultJson showProvilegeWithUid(int uid);

    ResultJson giveRoleForUser(int uid, List<Integer> rids);

}
